using System.Data.Common;

namespace Dapper.Extensions.Hooks
{
	public interface IHookedDbConnectionFactory<T>
	{
		DbConnection CreateConnection(ISqlHooks<T> hooks, T context);
		Task<DbConnection> CreateConnectionAsync(ISqlHooks<T> hooks, T context);
	}
}
